package com.jie.day2.able2.enums;

/**
 * 世界有哪些类型的人，列出来
 * @author jie
 * @date 2019/12/9 -10:49
 */
public enum HumanEnum {
    //把世界上所有人类型都定义出来
    YellowMaleHuman("com.jie.day2.able2.impl.YellowMaleHuman"),
    YellowFemaleHuman("com.jie.day2.able2.impl.YellowFemaleHuman"),
    WhiteFemaleHuman("com.jie.day2.able2.impl.WhiteFemaleHuman"),
    WhiteMaleHuman("com.jie.day2.able2.impl.WhiteMaleHuman"),
    BlackMaleHuman("com.jie.day2.able2.impl.BlackMaleHuman"),
    BlackFemaleHuman("com.jie.day2.able2.impl.BlackFemaleHuman");

    private String value  = "";

    //定义构造函数，目的是Data（）类型的相匹配
    private HumanEnum(String value) {
        this.value = value;
    }
    public String getValue(){
        return this.value;
    }
}
